package com.libraryManage.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.libraryManage.commons.utils.PagingEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @CreateDate 2021-03-15
 * @Author yufang
 */
@Data
@ApiModel(description = "未处理预约借阅do")
public class BorrowingUser extends PagingEntity {

    @ApiModelProperty(value = "用户id")
    private int userId;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "专业")
    private String specialized;

    @ApiModelProperty(value = "图书id")
    private int bookId;

    @ApiModelProperty(value = "书名")
    private String bookName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "用户预约时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "图书管理员处理时间")
    private Date endTime;

    @ApiModelProperty(value = "管理员处理状态")
    private int isTrue;


}
